package com.dddd.blog.bloguser.config;


import com.dddd.blog.blogcommon.advice.MyResponseHandlerAdvice;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 喵星球的大橘
 */
@Configuration
public class MyResponseHandlerConfig {

    /**
     *
     * @return
     */
    @Bean
    public MyResponseHandlerAdvice addControllerAdvice(){
        return new MyResponseHandlerAdvice();
    }
}
